package edu.lsnu.equipment_management_system.pojo.vo.in;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author mzy
 * @Description 来自界面的设备损毁的申请
 * @date 2018/11/18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EquipmentDamageFromPage implements Serializable {
    // private String equipmentCategory;  // --- 设备类别
    // private String equipmentName;    // --- 设备名称
    private String equipmentNo;      // --- 设备编号
    private String damageOr;         // --- 报损或报废

    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private Date damageDate;       // --- 报损日期
    private String damageReason;     // --- 报损和报废原因

    /** 已使用年限：YSYNX */
    private Integer useYear;
    /** 最低报废年限：ZDBFNX */
    private Integer depreciationPeriod;
}
